.turntable {
    position: relative;
    &-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        object-fit: contain;
        &.rotate {
            animation: rotatev2 6s cubic-bezier(0.075, 0.82, 0.165, 1);
            animation-fill-mode: forwards;
        }
    }
    &-pointer {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -2vmin);
        width: 52vmin;
    }
    &-main {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 93vmin;

        &.rotate {
            animation: rotate 6s cubic-bezier(0.075, 0.82, 0.165, 1);
            animation-fill-mode: forwards;
        }

        ul {
            position: relative;
            transform: translate(-7vmin, -30.5vmin);

            li {
                position: absolute;
                width: 14vmin;
                height: 30.5vmin;
                transform-origin: bottom;

                &:nth-child(1) {
                    transform: rotate(300deg);
                }

                &:nth-child(3) {
                    transform: rotate(60deg);
                }

                &:nth-child(4) {
                    transform: rotate(240deg);
                }

                &:nth-child(5) {
                    transform: rotate(180deg);
                }

                &:nth-child(6) {
                    transform: rotate(120deg);
                }
            }
        }
    }
}

@keyframes rotatev2 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(var(--rotate-deg));
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(var(--rotate-deg));
    }
}

.turntable-reward {
    width: 100%;
    height: 100%;

    &-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-bottom: 90%;

        &_img {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 14vmin;
            filter: drop-shadow(0px -2px 2px #c2c2c2);
        }
    }
}